#pragma once
#ifdef _MSVC_LANG
#pragma  execution_character_set("UTF-8")
#endif

#include <QWidget>
#include <QFile>
#include <QDebug>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonArray>
#include "ui_configHome.h"
#include "C_JosnConfigUI.h"
#include <QPushButton>
#include <QLabel>
#include <QMenu>
#include <QContextMenuEvent>


class configHome : public QWidget
{
	Q_OBJECT

public:
	configHome(QWidget *parent = nullptr);
	~configHome();


public slots:
  void 	saveConfig();

private:
	Ui::configHomeClass ui;

	bool openConfig( const QString& fileName , QJsonDocument &doc );

	C_JosnConfigUI *m_jsonConfig = nullptr;
	QVBoxLayout* layout = nullptr;

};
